(Al-Anfal) 8 : 17
فَلَمْ تَقْتُلُوهُمْ وَلَٰكِنَّ اللَّهَ قَتَلَهُمْ ۚ وَمَا رَمَيْتَ إِذْ رَمَيْتَ وَلَٰكِنَّ اللَّهَ رَمَىٰ ۚ وَلِيُبْلِيَ الْمُؤْمِنِينَ مِنْهُ بَلَاءً حَسَنًا ۚ إِنَّ اللَّهَ سَمِيعٌ عَلِيمٌ
Then you didn’t kill them, but Lord Allah did kill them. And you didn’t throw at them when you threw, but Allah did throw at them. It was to test the believers with a good trial from Him; indeed, Allah is the All-Hearing, the All-Knowing.